<div class="top2">
<div class="logo"><?php if($m_row[c_logo]){?><img src="http://img.sandib2b.cn/<?=$m_row[c_logo]?>" border="0" <?=imgstr("http://img.sandib2b.cn/$m_row[c_logo]","242","60")?>/><?php }?></div>
<div><h2><?=mysubstr($m_row['m_cname'],40,'','')?></h2>
<?php 
if(trim($m_row['c_mainpro']))
{
?>
<h2 style="font-size:12px; color:gray;">
主营产品:<span>
<?php
$ec = str_replace(array(',','，','.','。','；',';',':','/','、','\\',' '),'|',$m_row['c_mainpro']);
$ec = @explode('|',$ec);
$len =0;
foreach($ec as $k=>&$v)
{
    $v = trim($v);
    $l = mb_strlen($v,'UTF-8');
    if($l>0)
    {
        $len += mb_strlen($v,'UTF-8');
        if($len<38)
        {
            $wr[$k]=trim($v);
        }
        else
        {
            break;
        }
    }
}
$wr = @implode($wr,'　');
echo $wr;
?>
</span>
</h2>
<?php } ?>
</div>
<div class="onl"></div>
</div>
<div class="menu">
<ul>
<li><a href="/cn/template/<?=$_GET['w_name']?>/">首 页</a></li>
<li><a href="/cn/template/<?=$_GET['w_name']?>/company.html">公司介绍</a></li>
<li><a href="/cn/template/<?=$_GET['w_name']?>/product-list/1.html">产品展示</a></li>
<li><a href="/cn/template/<?=$_GET['w_name']?>/hot-list/1.html">热点产品</a></li>
<li><a href="/cn/template/<?=$_GET['w_name']?>/contact.html">联系我们</a></li>
<li><a href="/cn/template/<?=$_GET['w_name']?>/sentinquery.html">给我留言</a></li>
</ul>
</div>
<div class="ban">
  <img src="http://www.sandib2b.cn/template/<?=$template?>/images/bb.jpg" border="0" />
</div>
<div id="mian" style="clear: both;margin-top:10px;margin-bottom: 10px;" class="side" align="center">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>
